PopupWindowState

public final class PopupWindowState implements AutoCloseable

State of PopupWindow.

Since

8.0.0

Parameters

browser

The popup browser.

bounds

The initial bounds of the popup.

scope

The coroutine scope used to update Compose observables.

onClose

A callback to be called when the popup is closed.

Constructors

Link copied to clipboard
public PopupWindowState PopupWindowState(Browser browser, Rect bounds, Function1<PopupWindowState, Unit> onClose, CoroutineScope scope)

Properties

Link copied to clipboard
private final Browser browser

Functions

Link copied to clipboard
public Unit close()
Link copied to clipboard
public final Browser getBrowser()